package com.homedo.odin.solution.model.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.homedo.odin.solution.model.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

@ApiModel(description = "附件详细返回信息")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class AttachmentInfoResponseBean extends BaseBean {

    @ApiModelProperty("id")
    private Integer id;

    /**
     * 业务编号
     */
    @ApiModelProperty("业务编号")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long businessId;

    /**
     * 业务类型 1：方案 2：行业规范
     */
    @ApiModelProperty("业务类型 1：方案 2：行业规范")
    private Integer businessType;

    /**
     * 附件地址
     */
    @ApiModelProperty("附件地址")
    private String attachmentUrl;

    /**
     * 附件转图片地址
     */
    @ApiModelProperty("附件转图片地址")
    private String attachmentPicture;

    @ApiModelProperty("创建时间")
    private Date createTime;


}
